package com.threegroup.admin.dao;

import com.threegroup.admin.entity.AddressBookEntity;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface AddressBookEntityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AddressBookEntity record);

    int insertSelective(AddressBookEntity record);



    int updateByPrimaryKeySelective(AddressBookEntity record);

    int updateByPrimaryKey(AddressBookEntity record);


    List<AddressBookEntity> queryAll(@Param("order") String order,@Param("orderField") String orderField);

    List<AddressBookEntity> selectByPrimaryKey(Long id);

    AddressBookEntity info(Long id);
}